<div class="layui-fluid" id="goods-detail">
    <form class="layui-form" action="" lay-filter="goods-detail-form" disabled="true">


        <div class="layui-form-item febs-hide">
            <label class="layui-form-label febs-form-item-require ">公司ID：</label>
            <div class="layui-input-block">
                <input type="text" name="tenantId" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-col-md6 febs-hide">
                <label class="layui-form-label layui-form-label-detail">公司名称：</label>
                <div class="layui-input-block layui-input-block-html" th:text="${tenant.tenantName}"></div>
            </div>
            <div class="layui-col-md12">
                <label class="layui-form-label layui-form-label-detail">奖品名称：</label>
                <div class="layui-input-block layui-input-block-html" th:text="${goods.goodsName}"></div>
            </div>
        </div>

        <div class="layui-col-md6">
            <div class="layui-form-item">
                <div class="layui-col-md12">
                    <label class="layui-form-label layui-form-label-detail">奖品单价：</label>
                    <div class="layui-input-block layui-input-block-html" th:text="${goods.goodsPrice}"></div>
                </div>

            </div>
            <div class="layui-form-item">
                <div class="layui-col-md12">
                    <label class="layui-form-label layui-form-label-detail">奖品单位：</label>
                    <div class="layui-input-block layui-input-block-html" th:text="${goods.goodsUnit}"></div>
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-col-md12">
                    <label class="layui-form-label layui-form-label-detail">兑换积分：</label>
                    <div class="layui-input-block layui-input-block-html" th:text="${goods.exchangeScore}"></div>
                </div>

            </div>

            <div class="layui-form-item">
                <div class="layui-col-md12">
                    <label class="layui-form-label layui-form-label-detail">库存数量：</label>
                    <div class="layui-input-block layui-input-block-html" th:text="${goods.inventory}"></div>
                </div>
            </div>

        </div>
        <div class="layui-col-md6">
            <div class="layui-form-item">
                <div class="layui-col-md12">
                    <label class="layui-form-label layui-form-label-detail">奖品图片：</label>
                    <div class="layui-input-block layui-input-block-html">
                        <!--                    <img class="tupian" style="width: 100% " alt="' + d.fileName + '" src="' + ctx + d.smallPath + '" ' +-->
                        <!--                    'data-bigsrc="' + ctx + d.filePath + '"  event="imgEvent" /></img>-->
<!--                        <img class="tupian" id="tupian" style="width: 70%" onclick="imgView(this);"/>-->
                        <div id="fileUpload" style="width: 70%">
                        </div>
                    </div>
                </div>
            </div>
        </div>

<!--        <div class="layui-form-item">-->
<!--            <div class="layui-col-md6">-->
<!--                <label class="layui-form-label detail">兑换积分：</label>-->
<!--                <div class="layui-input-block" th:text="${goods.exchangeScore}"></div>-->
<!--            </div>-->
<!--            <div class="layui-col-md6">-->
<!--                <label class="layui-form-label detail">库存数量：</label>-->
<!--                <div class="layui-input-block" th:text="${goods.inventory}"></div>-->
<!--            </div>-->

<!--        </div>-->


        <div class="layui-form-item">
            <div class="layui-col-md6">
                <label class="layui-form-label layui-form-label-detail">锁定库存：</label>
                <div class="layui-input-block layui-input-block-html" th:text="${goods.lockNumber}"></div>
            </div>
            <div class="layui-col-md6">
                <label class="layui-form-label layui-form-label-detail">奖品状态：</label>
                <div th:if="${goods.status eq '1'}">
                    <div class="layui-input-block layui-input-block-html" th:text="启用"></div>
                </div>
                <div th:if="${goods.status eq '0'}">
                    <div class="layui-input-block layui-input-block-html" th:text="禁用"></div>
                </div>
            </div>
        </div>




    </form>
</div>
<script data-th-inline="javascript">
    var goods = [[${goods}]];
    var tenant = [[${tenant}]];
</script>
<script th:src="@{/febs/js/base/baseGoods/baseGoodsDetail.js(v=1)}"></script>
